package server;

import javax.servlet.http.HttpSession;

public interface Session {
    public void setValid(boolean isValid);
    public String getId();
    public void setNew(boolean isNew);
    public void setCreationTime(long time);
    public void setMaxInactiveInterval(int interval);
    public void setId(String id);
    public HttpSession getSession();
    public boolean isValid();
}
